package com.ruoyi.project.cltmanage.chargelist.service.impl;

import com.ruoyi.project.cltmanage.chargelist.mapper.ChargeListMapper;
import com.ruoyi.project.cltmanage.chargelist.service.IChargeListService;

import com.ruoyi.project.cltmanage.domain.CltCharge;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ChargeListServiceImpl implements IChargeListService {
    @Autowired
    private ChargeListMapper chargeListMapper;

    @Override
    public List<CltCharge> selectAll() {
        return chargeListMapper.selectAll();
    }

    @Override
    public List<CltCharge> selectOne(String id, String name) {
        return chargeListMapper.selectOne(id,name);
    }

    @Override
    public int update(String paintId, String type) {
        return chargeListMapper.update(paintId,type);
    }

    @Override
    public List<CltCharge> select(String id) {
        return chargeListMapper.select(id);
    }
}
